import React from 'react';
import styles from './index.module.less';

const Header = ({ props }) => {
  const { name, context } = props;
  return (
    <div className={styles.headerWrap}>
      <div className={styles.title}>头部标题：{name}</div>
      <div>{context}</div>
    </div>
  );
};

export default Header;
